package com.wantupai.translate.activity;

import android.view.View;
import android.widget.TextView;

import com.wantupai.translate.R;
import com.wantupai.translate.base.BaseActivity;
import com.wantupai.translate.utils.CommonUtils;

import butterknife.BindView;

/**
 * @author luxuchang
 * @date 2019/5/7 0007
 * @description
 */
public class AboutUsActivity extends BaseActivity {
    @BindView(R.id.tv_version_code)
    TextView tvVersionCode;

    @Override
    public int getLayoutId() {
        return R.layout.activity_about_us;
    }

    @Override
    protected boolean translucentStatusBar() {
        return true;
    }

    @Override
    public void initViews() {
        setTitle("关于我们");
        getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
    }

    @Override
    public void initListener() {

    }

    @Override
    public void initData() {
        tvVersionCode.setText(String.format(getString(R.string.version_code), CommonUtils.getVersionName(this)));
    }

    @Override
    public void processClick(View v) {

    }
}
